import request from '@/utils/request'

// 分页
export function pagingPartnerGrade(query) {
  return request({
    url: '/user/enterprisePartnerGrade/paging',
    method: 'get',
    params: query
  })
}

// 列表
export function getEnterprisePartnerGradeList(query) {
  return request({
    url: '/user/enterprisePartnerGrade/getEnterprisePartnerGradeList',
    method: 'get',
    params: query
  })
}

// 删除
export function deleteById(partnerGradeId) {
  return request({
    url: '/user/enterprisePartnerGrade/delete',
    method: 'get',
    params: {
      partnerGradeId
    }
  })
}

// 保存
export function savePartnerGrade(data) {
  return request({
    url: '/user/enterprisePartnerGrade/save',
    method: 'post',
    data: data
  })
}
